package com.newland.esp.entity.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.newland.esp.entity.base.BaseEntity;
import io.swagger.models.auth.In;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author lw
 * @descripe  用户信息表
 * @date 2021/8/17 21:16
 * @Version 1.0
 **/
@Data
@TableName("user_info")
public class AdminInfoEntity extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Short id;

    @TableField("user_id")
    private Short userId;

    @TableField("user_name")
    private String userName;

    @TableField("user_email")
    private String userEmail;

    @TableField("password")
    private String password;

    @TableField("ec_salt")
    private String ecSalt;

    @TableField("nick_name")
    private String nickName;

    @TableField("phone")
    private String phone;

    @TableField("device_id")
    private Short deviceId;

    @TableField("api_tag")
    private String apiTag;

    @TableField("status")
    private Short status;
}
